<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>404</title>
    <link rel="stylesheet" href="../css/base.css" />
    <style>
      body {
        margin: 0;
        padding: 0;
        background-image: url(../assets/images/404_r.jpg);
        background-repeat: no-repeat;
        background-position: center;
        text-align: center;
        flex-direction: row;
      }
      button {
        height: 6%;
        width: 25%;
        position: relative;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        margin: auto;
      }
    </style>
  </head>
  <body>
    <button onclick="index()">返回首页</button>
    <button onclick="history.back()">返回上一页</button>
  </body>
  <script>
    function index() {
      location.href = "./index.html";
    }
  </script>
</html>
